import React from 'react';
import Button from './components/button/Button';
import './App.css';

function App() {
  return (
    <div className="App">
      <Button onClick={() => {
        console.log('我是事件！！')
      }} btnType = "danger" btnSize="lg">危险按钮</Button>
      <Button btnType = "primary" btnSize="sm">主要按钮</Button>
      <Button>
        默认按钮
      </Button>

      <Button btnType="link"  onClick={() => {
        console.log(123)
      }}>
        点我跳转
      </Button>
    </div>
  );
}

export default App;
